How to use cell references and defined names in criteria in Excel

您所在的位置:网站首页 excel d$2 How to use cell references and defined names in criteria in Excel

How to use cell references and defined names in criteria in Excel

2023-03-26 17:43| 来源: 网络整理| 查看: 265

In Microsoft Excel, criteria can be set by typing the exact value that is desired in the criteria cells, or by using cell references or defined names. 

Important: Quotation marks must be used. Otherwise, Excel interprets the information as "greater than "$D$1"" where "$D$1" is a text string. The same applies for a defined name.

To use the value of cell D1 as the criteria, type the following formula in the criteria cell:

=$D$1

To use the value of a defined name, such as "CritVar", type the following formula in the criteria cell:

=CritVar

To use the operators, such as less than (), the operator must be concatenated with the formula. For example, to specify a match of greater than the value in cell D1, type the following formula in the criteria cell:

=">"&$D$1

To specify a match of greater than or equal to a cell defined as "GVAR", type the following formula in the criteria cell:

=">="&GVAR



【本文地址】


今日新闻


推荐新闻


CopyRight 2018-2019 办公设备维修网 版权所有 豫ICP备15022753号-3